package com.more.spring.boot.springbootdemo1;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
public class SpringBootDemo1Application {

    public static void main(String[] args) {
        //SpringApplication.run方法加载整个spring
        /*
        run方法返回的是实现了ConfigurableApplicationContext接口的对象，他色org.springframework.context.ApplicationContext接口的子接口
        所有run方法主要创建spring容器。
         */
        SpringApplication.run(SpringBootDemo1Application.class, args);
    }

}
